import type { Activity, Rank } from '@/types/dashboard';

// 首页时间线活动数据
export const activities: Activity[] = [
  {
    content: '收藏商品',
    description: 'xxx收藏了你的商品，就是不买',
    timestamp: '30分钟前',
    color: '#00bcd4',
  },
  {
    content: '用户评价',
    description: 'xxx给了某某商品一个差评，吐血啊',
    timestamp: '55分钟前',
    color: '#1ABC9C',
  },
  {
    content: '订单提交',
    description: 'xxx提交了订单，快去收钱吧',
    timestamp: '1小时前',
    color: '#3f51b5',
  },
  {
    content: '退款申请',
    description: 'xxx申请了仅退款，又要亏钱了',
    timestamp: '15小时前',
    color: '#f44336',
  },
  {
    content: '商品上架',
    description: '运营专员瞒着你上架了一辆飞机',
    timestamp: '1天前',
    color: '#009688',
  },
];

// 首页排行榜数据
export const ranks: Rank[] = [
  {
    title: '手机',
    value: 10000,
    percent: 80,
    color: '#f25e43',
  },
  {
    title: '电脑',
    value: 8000,
    percent: 70,
    color: '#00bcd4',
  },
  {
    title: '相机',
    value: 6000,
    percent: 60,
    color: '#64d572',
  },
  {
    title: '衣服',
    value: 5000,
    percent: 55,
    color: '#e9a745',
  },
  {
    title: '书籍',
    value: 4000,
    percent: 50,
    color: '#009688',
  },
];